package com.situ.water_user.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.situ.water_system.pojo.SyArea;
import com.situ.water_user.pojo.UsUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
public interface UsUserService extends IService<UsUser> {
    IPage<UsUser> queryalllwt(Page<UsUser> page, UsUser user);


    public List<UsUser> queryUser(QueryWrapper wrapper); //高级查询
    public List<SyArea> querySyArea(); //辖区查询
    public Integer userID();//查询最大用户id
    public UsUser queryByUserNo(String userNo);  //根据id查询
    public UsUser queryOne(QueryWrapper wrapper); //根据id查询（传对象）
    public void addUser(UsUser user);//添加
    public void ghUser(UsUser user);  //快捷过户
    public void dkUser(UsUser user);  //快捷代扣
    public void cqUser(UsUser user); //快捷重签
    public void xhUser(UsUser user); //快捷销户
    public void dahUser(UsUser user);//档案号管理
    public PageInfo pageUser(QueryWrapper wrapper, int pageNum, int pageSize);  //带分页的高级查询
}
